package top.zhangjianyong.tools.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.zhangjianyong.tools.entity.marirui.JJHOTCC;
import top.zhangjianyong.tools.mapper.JJHOTCCMapper;
import top.zhangjianyong.tools.service.mybatis.IJJHOTCCService;

import java.time.LocalDate;

/**
 * @author ： zhangjianyong
 * @date ： 2022/10/17 3:46 PM
 */
@Service
public class IJJHOTCCServiceImpl extends ServiceImpl<JJHOTCCMapper, JJHOTCC> implements IJJHOTCCService {

    @Override
    public JJHOTCC qryOne(String mc, LocalDate valueDate) {
        return lambdaQuery().eq(JJHOTCC::getMc,mc).eq(JJHOTCC::getValueDate,valueDate).one();
    }
}
